Component({
  data: {
    openExplain: false
  },
  properties: {
    type: {
      type: Number,
      value: 1,
      observer: '__typeChange'
    }
  },
  methods: {
    __typeChange() {
      this.setData({
        openExplain: false
      });
    },
    onExplainOption() {
      let openExplain = this.data.openExplain;
      this.setData({
        openExplain: !openExplain
      });
    }
  }
})